package com.aizuda.boot.modules.business.performancePlan.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import java.util.List;

/**
 * 创建收款计划 DTO
 */
@Data
@Schema(description = "创建收款计划请求")
public class CreateCollectionPlanDTO {

    @Schema(description = "合同ID")
    @NotNull(message = "合同ID不能为空")
    private Integer contractId;

    @Schema(description = "收款计划组列表")
    private List<CollectionPlanGroupDTO> collectionPlanGroups;
}
